package com.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WeiboDatailVO {
    @ApiModelProperty(value = "微博内容",required = true, example = "微博...")
    private String content;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "发布时间",required = true, example = "yyyy-MM-dd HH:mm:ss")
    private Date created;
    @ApiModelProperty(value = "微博id",required = true, example = "1")
    private Integer id;
    @ApiModelProperty(value = "用户昵称",required = true, example = "123")
    private String nickname;
}
